package com.magicborrow.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.magicborrow.R;

/**
 * Created by Administrator on 2016/5/11.
 */
public class WeixinRegisterActivity extends BaseActivity implements View.OnClickListener{

    private ImageView iv_back;
    private TextView tv_ok;
    private TextView et_gender;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_weixin_register);
        initView();
        initListener();
    }

    private void initView(){
        iv_back = (ImageView)findViewById(R.id.iv_back);
        tv_ok = (TextView)findViewById(R.id.tv_ok);
        et_gender = (TextView)findViewById(R.id.et_gender);
    }
    private void initListener(){
        iv_back.setOnClickListener(this);
        tv_ok.setOnClickListener(this);
    }

    @Override
    public void onClick(View v){
        switch (v.getId()){
            case R.id.iv_back:
                finish();
                break;
            case R.id.tv_ok:
                Intent intent = new Intent();
                intent.setClass(this,WeixinRegistersActivity.class);
                startActivity(intent);
                break;
            case R.id.et_gender:

                break;
        }
    }

}
